import {defineStore} from "pinia";
import {ref} from "vue";

export const useBannerStore = defineStore('banner', () =>{
    const bannerList = ref([
        {
            id: 1,
            url: 'https://sky-takeout-ximeng.oss-cn-hangzhou.aliyuncs.com/353676_01.jpg'
        },
        {
            id: 1,
            url: 'https://sky-takeout-ximeng.oss-cn-hangzhou.aliyuncs.com/353676_03.jpg'
        },
        {
            id: 1,
            url: 'https://sky-takeout-ximeng.oss-cn-hangzhou.aliyuncs.com/353676_05.jpg'
        },
        {
            id: 1,
            url: 'https://sky-takeout-ximeng.oss-cn-hangzhou.aliyuncs.com/353676_07.jpg'
        }
    ])
    return {
        bannerList
    }
})

